<script setup>
import {ref,defineProps} from 'vue'
import ComectionChild from './comection/ComectionChild.vue';

const retruns = ref('')


function change1(show){
    retruns.value = show
    change2()
    // console.log(retruns.value);
}

function change2(){
    // alert(retruns.value)
}

</script>


<template>
    <ComectionChild @change="change1($event)" @change2="$emit('change2()',retruns)"/>
</template>

<style scoped>
.radius {
    margin-top: 10px;
    height: 240px;
    width: 100%;
    border: 1px;
    border-radius: 10px;
    background-color: rgb(240, 245, 240);
}
.first-1{
    width: 65px;
    position: relative;
    top: 30px;
    left: 10px;
}
.size{
    font-size: 12px;
    text-align: center;
}
.right-1{
    text-align: center;
    margin-left: 10px;
    font-size: 30px;
    color: #e616;
}
.right-2{
    margin-left: 10px;
    font-size: 30px;
    color: #f289ec;
}
.right-3{
    margin-left: 10px;
    font-size: 30px;
    color: #19fa28;
}
.right-4{
    margin-left: 10px;
    font-size: 30px;
    color: #ed1f;
}

.el-row:last-child {
    margin-bottom: 0;
}

.el-col {
    border-radius: 4px;
}
</style>